What is a Vector?

Introduction

Vectors are one of the first truly “new” mathematical objects we meet after basic algebra. They let us describe movement, direction, and quantities with more than one component. This article introduces vectors in two friendly ways:

What Is a Vector?

A vector is a quantity that has both:

Examples of things that behave like vectors:

A vector is not just a number like $3$ or $-7$. Those are scalars—they have size but no direction.

Vectors as Arrows in Space

A simple way to picture a vector is as an arrow.

Key ideas:

Example:
An arrow going 3 units to the right and 2 units up represents the vector “right 3, up 2”.

Vectors as Lists of Numbers

Instead of drawing arrows, we can describe vectors using coordinates.

Examples:

These lists of numbers match the arrows:
Start at the origin $(0,0)$, move according to the numbers, and you reach the arrow’s head.

Length and Direction

The length (or magnitude) of a vector $(a, b)$ in 2D comes from the Pythagorean theorem: $$\| (a, b) \| = \sqrt{a^2 + b^2}.$$ Examples:

The direction of a vector can be thought of as the angle it makes with the horizontal axis. You don’t need trigonometry yet—just the idea that:

Visualising Vectors in Two Dimensions

In 2D, vectors live on a flat plane.

Ways to picture them:

Helpful observations:

Visualising Vectors in Three Dimensions

3D vectors add a third component, which is harder to draw but follows the same idea.

To visualise:

Key points:

Vector Notation

Vector notation gives us compact, readable ways to describe a vector’s direction and length. Three of the most common forms are:

Each form highlights something different, and being able to convert between them is a core skill.

Arrow Notation

Arrow notation uses a symbol like $\vec{v}$ or $\overrightarrow{AB}$.

Key ideas:

Example:

Component Notation

Component notation writes a vector as: $$(x, y)$$ This means:

Advantages:

Example:

Angle + Length Notation (Polar Form)

A vector can also be described by:

Written as: $$(|\vec{v}|,\ \theta)$$ Example:

This form is especially useful when direction is the main focus.

Converting Between Component Form and Angle+Length Form

From Components $(x, y)$ to Length + Angle

  1. Length: $$|\vec{v}| = \sqrt{x^2 + y^2}$$
  2. Angle: $$\theta = \tan^{-1}\!\left(\frac{y}{x}\right)$$ (Adjust the angle depending on the quadrant.)

Example: $$\vec{v} = (3, 4)$$

So the vector is $(5,\ 53.1^\circ)$.

From Length + Angle to Components

If a vector has length $L$ and angle $\theta$: $$x = L\cos\theta$$ $$y = L\sin\theta$$ Example:
Vector of length $10$ at $30^\circ$:

So the vector is $(5\sqrt{3},\ 5)$.

Converting Between Arrow Notation and Components

Arrow notation $\overrightarrow{AB}$ can be turned into components by subtracting coordinates:

If $A = (x_1, y_1)$ and $B = (x_2, y_2)$: $$\overrightarrow{AB} = (x_2 - x_1,\ y_2 - y_1)$$ Example: $$A(1,2), (4,6)$$ $$\overrightarrow{AB} = (4-1,\ 6-2) = (3,4)$$ Once you have components, you can convert to angle+length form as above.

Common Misconceptions and How to Avoid Them

Summary

Calculator

Representing vectors as arrays

  • We use an array to represent a vector:
[1, 2] [1, 2, 3]

Calculating the magnitude of a vector

  • To calculate the magnitude of a vector, we use the vectorMagnitude() function:
vectorMagnitude([1, 2]) vectorMagnitude([1, 2, 3])

Checking if two vectors point in the same direction

  • To check if two vectors point in the same direction, we:
    • first convert each to a unit vector (normalizing their magnitudes to 1)
    • then check if the two vectors are equal.
deepEquals(unitVector([1, 2]), unitVector([2, 4])) deepEquals(unitVector([1, 2]), unitVector([2, 5]))

Converting from polar to component form

  • Converts from polar $(length, angle)$ to component form
fromPolar(10, 30 deg) fromPolar(10, PI/4) fromPolar([10, 0])

Converting from component to polar form

  • Converts from component form $(x, y)$ to polar form
toPolar(10, 5) toPolar([1, 2])

Exercises

  1. Draw the vector $(4,1)$ on graph paper. What direction does it point?

    Solution

    Vector $(4,1)$ direction
    • From the origin, move 4 units right and 1 unit up.
    • It points mostly to the right, slightly upward.
  2. Which of the following vectors point in the same direction as $(2,3)$?
    • $(4,6)$, $(1,1)$, $(-2,-3)$.

    Solution

    Same direction as $(2,3)$
    • Vectors with the same direction are scalar multiples of each other.
    • $(4,6) = 2(2,3)$ → same direction.
    • $(1,1)$ is not a multiple of $(2,3)$ → different direction.
    • $(-2,-3) = -1(2,3)$ → opposite direction (same line, but reversed).
  3. Find the length of each vector:
    • $(3,4)$, $(5,12)$, $(1,2)$.

    Solution

    Lengths
    • $\|(3,4)\| = \sqrt{3^2 + 4^2} = \sqrt{9+16} = \sqrt{25} = 5$.
    • $\|(5,12)\| = \sqrt{5^2 + 12^2} = \sqrt{25+144} = \sqrt{169} = 13$.
    • $\|(1,2)\| = \sqrt{1^2 + 2^2} = \sqrt{1+4} = \sqrt{5}$.
  4. Describe in words what the vector $(-3,2)$ means.

    Solution

    Meaning of $(-3,2)$
    • Move 3 units left (negative $x$) and 2 units up (positive $y$).
    • So it represents a movement “left 3, up 2”.
  5. True or false: “The vectors $(1,2)$ and $(2,1)$ have the same direction.”

    Solution

    Same direction? $(1,2)$ and $(2,1)$
    • Check if one is a scalar multiple of the other.
    • There is no number $k$ such that $k(1,2) = (2,1)$.
    • So the statement is false.
  6. Give one real‑world example of a vector and explain why it is a vector.

    Solution

    Real‑world vector example
    • Example: wind velocity “10 km/h to the north”.
    • It has size (10 km/h) and direction (north), so it is a vector.
  7. Which of these are scalars and which are vectors?
    • Temperature, velocity, mass, force.

    Solution

    Scalars vs vectors
    • Temperature → scalar (size only).
    • Velocity → vector (speed and direction).
    • Mass → scalar.
    • Force → vector (magnitude and direction).
  8. A vector has length $10$ and points straight upward. Write a possible coordinate form for it.

    Solution

    Vector of length 10 pointing straight up
    • In 2D, “straight up” means no $x$-movement, only $y$-movement.
    • A suitable vector is $$(0,10).$$
  9. Explain why the point $(3,4)$ and the vector $(3,4)$ are not the same thing.

    Solution

    Why $(3,4)$ as a point vs as a vector differ
    • As a point, $(3,4)$ means “the location 3 units right and 4 units up from the origin.”
    • As a vector, $(3,4)$ means “a movement of 3 right and 4 up,” which can start anywhere.
    • Same coordinates, but different meaning: location vs displacement.